yum --enablerepo=epel -y install cacti net-snmp net-snmp-utils php-mysql php-snmp rrdtool
vi /etc/snmp/snmpd.conf
com2sec notConfigUser default public
com2sec local localhost testServer
com2sec mynetwork 192.168.0.0/24 testServer
group MyRWGroup v2c local
group MyROGroup v2c mynetwork
view all included .1 80
access MyROGroup "" v2c noauth exact all none none
access MyRWGroup "" v2c noauth exact all all all
systemctl restart snmpd
snmpwalk -v2c -c testServer localhost system
# vi /etc/php.ini
<
p class="p1">date.timezone = Asia/Seoul
systemctl restart httpd